import {processRequest} from "./request"

/**
 * 登录
 */
export const LoginAjax = (data) => {
    return processRequest({api: "/api/Login", method: "POST", data: data})
}

/**
 * 获取菜单
 */
export const GetMenuAjax = (data) => {
    return processRequest({api: "/api/Menu", method: "GET", data: data})
}

/**
 * 检测token
 */
export const CheckTokenAjax = (data) => {
    return processRequest({api: "/api/Login/HandShake", method: "POST", data: data})
}